package org.beynet.docs.exceptions;

public class UnexpectedStatusCode extends Exception {
    public UnexpectedStatusCode(int errorCode) {
        super();
        this.errorCode = errorCode;
    }
    
    @Override
    public String getMessage() {
        return(" unexpected http status code:"+this.errorCode);
    }
    
    public int getErrorCode(){
        return(errorCode);
    }
    private int errorCode ;

    /**
     * 
     */
    private static final long serialVersionUID = 5464949333611447476L;
}
